ommand/ note
Command/ ornament
Command/ paragraphs
Command/ placecombinedlist
Command/ placefloat
Command/ placelistoffloats
Command/ placelistofsorts
Command/ placelistofsynonyms
Command/ placement
Command/ placepairedbox
Command/ placeregister
Command/ presetlabeltext
Command/ referenceformat
Comma
\startstandardmakeup
66 \title{Programmiertechnik 2}
67 \subsubject{Dr. Christoph Hintermüller}
68 >> \stopstandardmakeup
69 \startfrontmatter
70 \completecontent
71 %\placecombinedlist[content]
72 \stopfrontmatter
73 \startbodymatter
74
75
]
\starttochead[title={Table of Contents}]
\setupheader[state=start]
\placecombinedlist[content]
\stoptochead
And I use the following to set up the headertexts for the book as a whole:
\setupheadertexts
[{\hfill\getmarking[chapter]\hfill}][] %recto pages
[{\hfill\documentvariable
\definehead
> [tochead]
> [title]
>
> \starttochead[title={Table of Contents}]
> \setupheader[state=start]
> \placecombinedlist[content]
> \stoptochead
>
> And I use the following to set up the headertexts for the book as a whole:
>
> \setupheadertexts
> [{\h
[state=start]
\placecombinedlist[content]
\stoptochead
And I use the following to set up the headertexts for the book as a whole:
\setupheadertexts
[{\hfill\getmarking[chapter]\hfill}][] %recto pages
[{\hfill\documentvariable{metadata:title}\hfill}][] %verso pages
The problem is that I am
that someone wishes to offer.
The problem was that
\definehead
[tochead]
[title]
\starttochead[title={Contents}]
\setupheader[state=stop]
\placecombinedlist[content]
\stoptochead
was giving me headers on the second and third pages of the ToC, and my
publisher did not want those headers to appear
I notice that when I use
\definehead
[tochead]
[title]
\starttochead[title={Contents}]
\placecombinedlist[content]
\stoptochead
I am getting header and footer still (not on the first page, but on
following pages - the TOC runs into several pages). How can I prevent
that happening
}]
But I have unnumbered items which are titles (mytitles), so I am not sure what
to replace '6' with. I tried:
\placecombinedlist[content][extras={mytitle title={Elements of Reading}=page}]
since 'Elements of reading' is the title before which I want the page break to
occur. This does not work
s), so I am not sure
> what to replace '6' with. I tried:
>
> \placecombinedlist[content][extras={mytitle title={Elements of
> Reading}=page}] since 'Elements of reading' is the title before which I want
> the page break to occur. This does not work. I tried variation of it, e.g.
> since it
unnumbered items which are titles (mytitles), so I am not
sure what to replace '6' with. I tried:
\placecombinedlist[content][extras={mytitle title={Elements of
Reading}=page}] since 'Elements of reading' is the title before which I
want the page break to occur. This does not work. I tried variation
place the ToC using:
\definehead
[tochead]
[title]
\starttochead[title={Contents}]
\placecombinedlist[content]
\stoptochead
%-
The last bit ensures that I get the word 'Contents' as the toc title,
and avoid then getting 'contents' listed as an item with its page
Am 2019-01-10 um 15:21 schrieb Otared Kavian :
> Hi Hraban,
>
> Probably instead of
>
>> \setuplist[chapter][
>> before=,
>> after={\placecombinedlist[content][criterium=local]},]
>
> you wanted to say
>
> \setuphead[chapter][
> befor
Hi Hraban,
Probably instead of
> \setuplist[chapter][
> before=,
> after={\placecombinedlist[content][criterium=local]},]
you wanted to say
\setuphead[chapter][
before=,
after={\placecombinedlist[content][criterium=local]}]
which gives the expected result without an
[
before=,
after={\placecombinedlist[content][criterium=local]},]
\starttext
\completecontent
\chapter{One}
\section{Knuth}
\input knuth
\section{Tufte}
\input tufte
\chapter{Two}
\section{Tufte 2}
\input tufte
\chapter{Three}
\section{Zapf}
\input zapf
\stoptext
(MkIV, version 2018.12.19 19:22)
are not used with
`\placecombinedlist`.
% Therefore we use a more manual solution.
%
\definecombinedlist
[overviewpage]
[\moduleparameter{overviewpage}\c!level]
[
%\c!before=\startoverviewpagemakeup,
%\c!after=\stopoverviewpagemakeup,
\c!criterium=\v!all,
\c
}]
\placecombinedlist[MeinInhalt][criterium=all]
\stopsubject
?
Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl
=Inhaltsverzeichnis]
\placecombinedlist[content]
\stoptitle
\startchapter[title=Kapitel Eins,bookmark=Erstes Kapitel]
\input tufte
\stopchapter
\startchapter[title=Kapitel Zwei,bookmark=Zweites Kapitel]
\input tufte
\stopchapter
\startchapter[title=Kapitel Drei,bookmark=Drittes Kapitel
,alternative=c]
\def\placeToC{\crlf\chapter{Table of Contents}\crlf\placecombinedlist[ToC]}
\starttext
\chapter{Reference}
\section{Overview}
\myhead{Tiytuytiii}
\starttyping
zx zxzAzzIzzzxzzz
zx zx
zx z
zz xxzz
}] % The title
\definecombinedlist [ToC][chapter,section,subsection,myhead][
placehead=yes, criterium=all]
\setupcombinedlist[ToC][interaction=all,alternative=c]
\def\placeToC{\crlf\chapter{Table of Contents}\crlf\placecombinedlist[ToC]}
\starttext
\chapter{Reference
]
\placecombinedlist[name][settings]
\placecombinedlist[name][settings]
# \placefigure
\placefloat[options][references]{text}{text}
\placefootnotes[settings]
\placeformula[references]{text}$$ $$
# \placelayer
\placelegend{text}{text}
\placelist[names][settings]
\placelistoffloats
\placelistofsorts
\jobname to {somename.tuo}
I guess when my TUO normally is called test.tuo I should copy it to a
testtest.tuo
and next, instead of \completecontent I use \placecombinedlist
[content][file=testtest] .
This works, but takes long too, as again all chapters are processed.
So I comment all
]
\placecombinedlist[content]
- my own defined combined lists don't show any title: where to
define and how to show up?
maybe just use \title{whatever} followed by \placecombinedlist
No, doesn't work.
But when I use the syntax as above
my own combinedlist (just some sections less than content
(Content or Inhalt):
how to
change this?
Yes, found this in lang-* :
\setupheadtext [de] [content=Inhaltsverzeichnis]
\placecombinedlist[content]
- my own defined combined lists don't show any title: where to
define and how to show up?
maybe just use \title{whatever} followed
][criterium=local]
\section{Introduction}
As explained in \cite[manuals][key][me]...
\chapter{References Summary}
\placecombinedlist[allbibs]
\stoptext
What is not clear for me:
- if the bibentry numbering must be global or could restart to 1 for each
list,
- if it is really feasible to place
\subject{Short Contents}
\placecombinedlist[shortcontent]
\completecontent
\stopfrontmatter
\startbodymatter
\shortpart{First part}
\dorecurse{5}
{\expanded{\startchapter[Chapter \recurselevel]}
\dorecurse{5}{\section{My section}
\input knuth }
\stopchapter
]%
{\begingroup
\getparameters[Article][#1]%
\chapter{\ArticleTitle}% this is typeset
\Article{\ArticleTitle -- \ArticleAuthor}% this is the toc entry
}
\def\stopArticle%
{\blank\rightline{\ArticleAuthor}\endgroup}
% in text
\starttext
\placecombinedlist[Article
=,chapternumber=no,partnumber=no,conversion=romannumerals]
\title{Contents}
\placecombinedlist[Xontents]
\Frontchapter{Test Intro}
\dorecurse{3}{\input tufte\par}
\stopfrontmatter
\startbodymatter
%% for the body and appendices we prefix the chapternumber and a '/'
\setuppagenumbering[state=start
to be efficient nowadays)
1. The separator character in the actual pagenumbers is /. In the ToC
it displays as a -.
\start
\setuppagenumbering[numberseparator=/]
\placecombinedlist[Xontents]
\stop
2. I used left=A on the pagenumbering command in the appendices
because appendices are numbered A1
\start
\setuppagenumbering[numberseparator=/]
\placecombinedlist[Xontents]
\stop
Ah, I see, \placecombinedlist uses the value of numberseparator active
at the time it is called! Thanks.
indeed, since left/right is cosmetics an dit's easier to add that than
to remov eit when you dont wan
29 matches
Mail list logo